<%@page import="ee.ttu.rakarh.model.data.entities.PriceList"%>
<jsp:useBean id="priceLists" scope="request" type="java.util.Collection<ee.ttu.rakarh.model.data.entities.PriceList>" />
<script type="text/javascript" src="js/PriceList.js"></script>
<table>
<th>PriceList status</th>
<th>disc</th>
<th>date from</th>
<th>date to</th>
<th>note</th>
<% for (PriceList priceList : priceLists) {
	out.println("<tr>");
	
	out.println("<td>" + priceList.getPriceListStatusType().getTypeName() + "</td>");
	out.println("<td>" + priceList.getDefaultDiscountXtra() + "</td>");
	out.println("<td>" + priceList.getDateFrom() + "</td>");
	out.println("<td>" + priceList.getDateTo() + "</td>");
	out.println("<td>" + priceList.getNote() + "</td>");
	
	
	out.println("</tr>");
}
%>
</table>

<button id="addPriceListBtn">Add Price List</button>

<div id="addPriceListForm" title="Add new Price List">
	Please wait...
</div>